package com.example.demo.aop;

import org.springframework.stereotype.Service;

/**
 * @author czj
 */
@Service

public class ManageService {

    public String action(){
        System.out.println("服务调用中...");
        try {
            Thread.sleep(5000L);
        } catch (InterruptedException e) {

        }
        return "action";
    }

    public String action2(){
        System.out.println("服务调用中...");
        try {
            Thread.sleep(5000L);
        } catch (InterruptedException e) {

        }
        return "action2";
    }

    public String execute(){
        System.out.println("服务调用中...");
        try {
            Thread.sleep(5000L);
        } catch (InterruptedException e) {

        }
        return "execute";
    }
}
